package com.caituo.idouyou.user.common.exception;

import com.caituo.idouyou.user.common.util.ReturnCodeUtil;

public abstract class AbstractException extends Exception {
	
	public AbstractException(){
		super();
	}
	
	public AbstractException(String errorCode,String errorMsg) throws ResultCodeIsNullException{
		super(errorMsg);
		ReturnCodeUtil.setValue(errorCode,errorMsg);
	}
	
}
